/**
 * 学生模块
 */
const mongoose = require('mongoose')

const Schema = mongoose.Schema

const studentSchema = new Schema({
  studentId: {
    type: String,
    required: true
  },
  leaveWords: { // 给教师的留言
    type: Array,
    required: false
  }
})

module.exports = mongoose.model('Student', studentSchema)